package com.sanbi.shield.server.biz.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serial;
import java.io.Serializable;

/**
 * @desc 用户登录请求
 * @author wanggang
 * @time 2024/9/14 14:00
 */
@Data
public class LoginParam implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 登录名
     */
    @NotBlank(message = "username can not be empty")
    private String username;

    /**
     * 密码
     */
    @NotBlank(message = "password can not be empty")
    private String password;
}
